package aml.bs.controller;

import aml.bs.commons.NacosClient;
import lombok.extern.slf4j.Slf4j;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * @Title: aml.bs.controller.ShowController
 * @Author duxuqiang02
 * @Date 2023/9/17 10:37
 * @description: 展示物品相关Api
 */
@RestController
@RequestMapping("/api/show")
@Slf4j
public class ShowController {

    @RequestMapping
    public String testIsOkToShow(String userName,String password){
        String config = NacosClient.getConfig("abc.properties");
        log.info("CLASS:ShowController,method:testIsOkToShow.java:19, params:{userName:{}, password:{}}",userName, password);
        return userName+"test";
    }
}
